package com.example.mybatis_puls.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatis_puls.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * ClassName: UserMapper
 * Package: com.example.mybatis_puls.mapper
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-01-14
 * Time: 10:32
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    //base 基础 mapper 接口  基础映射器


    /**
     * 根据id查询用户信息为map集合
     * @param id
     * @return
     */
    //自定义接口
    Map<String,Object> selectMapById(Long id);
}
